gtk: Fix remaining mentions of gtk_container_propagate_expose()
authorBenjamin Otte <otte@redhat.com>
Wed, 29 Sep 2010 12:12:22 +0000 (14:12 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 29 Sep 2010 12:14:20 +0000 (14:14 +0200)
That includes the gtkcontainer.h header file.

https://bugzilla.gnome.org/show_bug.cgi?id=630800

gtk/gtkcontainer.h
gtk/gtktextview.c
gtk/gtkwidget.c

index cabe5472afdd6456a359a6fc6ff2cf4c75458c1b..87429114e13bbe6cadb16332950a96d834469ab0 100644 (file)
@@ -122,9 +122,6 @@ GList*   gtk_container_get_children     (GtkContainer       *container);
 void     gtk_container_propagate_draw   (GtkContainer   *container,
                                         GtkWidget      *child,
                                         cairo_t        *cr);
-void     gtk_container_propagate_expose (GtkContainer   *container,
-                                        GtkWidget      *child,
-                                        GdkEventExpose *event);
 
 void     gtk_container_set_focus_chain  (GtkContainer   *container,
                                          GList          *focusable_widgets);
index 73bb5e1a24eedffb029b9a74610bb89b6f758326..3c28fdebb0dd37c0fccfa466d7b0c45579fe4100 100644 (file)
@@ -4866,7 +4866,7 @@ gtk_text_view_draw (GtkWidget *widget,
     {
       GtkTextViewChild *vc = tmp_list->data;
 
-      /* propagate_expose checks that event->window matches
+      /* propagate_draw checks that event->window matches
        * child->window
        */
       if (!vc->anchor)
index 01aea78352c2c0a94f89b2a252afb37583e3eaba..e97c62417a1a689745262e3e3ce0b16bd498814c 100644 (file)
@@ -5402,10 +5402,10 @@ gtk_cairo_transform_to_window (cairo_t   *cr,
  * @event: a expose #GdkEvent
  * 
  * Very rarely-used function. This function is used to emit
- * an expose event signals on a widget. This function is not
- * normally used directly. The only time it is used is when
- * propagating an expose event to a child %NO_WINDOW widget, and
- * that is normally done using gtk_container_propagate_expose().
+ * an expose event on a widget. This function is not normally used
+ * directly. The only time it is used is when propagating an expose
+ * event to a child %NO_WINDOW widget, and that is normally done
+ * using gtk_container_propagate_draw().
  *
  * If you want to force an area of a window to be redrawn, 
  * use gdk_window_invalidate_rect() or gdk_window_invalidate_region().